package lab01;

public class Text13 {
    public static void main(String[] args) {
        for(int i = 1;i <= 999;i++){
            int ge = i % 10;
            int shi = i/10%10;
            int bai = i/10/10%10;
            if(ge*ge*ge +shi*shi*shi +bai*bai*bai == i){
                System.out.println(i);

            }
        }
    }

}
